.container {
  .header {
    display: flex;
    justify-content: space-between;
    height: 50px;
    padding: 0 20px;
    background: #2f5083;
    box-shadow: 0px 1px 0px 0px #3d5e92;
    .left {
      display: flex;
      align-items: center;
      .line {
        width: 4px;
        height: 14px;
        margin-right: 10px;
        background: #fff741;
        border-radius: 2px;
      }
      .text {
        color: #ffffff;
        font-size: 16px;
      }
      .subtext {
        margin-left: 10px;
        color: #ffffff;
        font-size: 14px;
        opacity: 0.3;
      }
    }
    .right {
      display: flex;
      align-items: center;
      .upload {
        :global {
          .inner-upload-input {
            &:hover + .material-upload-button {
              background-color: rgba(37, 77, 248, 0.7);
            }
          }
        }
      }
      .button {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 9px;
        padding: 6px 12px;
        color: #ffffff;
        font-size: 14px;
        background-color: rgba(37, 77, 248, 1);
        border-radius: 4px;
        cursor: pointer;
        &:hover {
          background-color: rgba(37, 77, 248, 0.7);
        }
      }
    }
  }
  .numberTd {
    position: relative;
  }
  .btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 20px;
    :global {
      .ant-btn-primary {
        height: 40px;
        background: #254df8;
        border-color: #254df8;
      }
    }
    .btn-delete {
      margin-left: 30px;
      background: #FF5967;
      border-color: #FF5967;
      &[disabled]{
        color: rgba(255, 255, 255, 0.4) !important;
        background: rgba(255, 89, 103, 0.30) !important;
        border-color:rgba(255, 89, 103, 1) !important;
      }
    }
  }
  :global {
    .indent-level-1 {
      padding: 0 !important;
    }
    .ant-table-cell-scrollbar:not([rowspan]) {
      box-shadow: none;
    }
    .ant-table {
      color: #fff;
      font-weight: 400;
      font-size: 14px;
      font-family: PingFangSC-Regular, PingFang SC;
      background-color: #325287;
    }
    .ant-table-empty .ant-table-tbody > tr.ant-table-placeholder,
    .ant-table-tbody > tr.ant-table-row:hover > td,
    .ant-table-tbody > tr.ant-table-row-selected > td,
    .ant-table-tbody > tr > td.ant-table-cell-row-hover,
    .ant-table-empty .ant-table-tbody > tr.ant-table-placeholder:hover {
      background-color: transparent;
    }
    .ant-table-thead > tr {
      > th {
        padding: 12px 6px;
        color: #fff;
        font-size: 14px;
        background-color: #122F5F;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        &.ant-table-cell-with-append {
          padding-left: 0;
        }
        &.ant-table-selection-column {
          padding-right: 0;
          text-align: right;
        }
      }
    }
    .ant-table-thead
      > tr
      > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
      display: none;
    }
    .ant-table-tbody > tr > td {
      padding: 16px 6px;
      border-color: rgba(255,255,255,0.08);
      &.ant-table-cell-with-append {
        padding-left: 0;
        text-align: left;
      }
      &.ant-table-selection-column {
        padding-right: 0;
        text-align: right;
      }
    }
    // .ant-table-tbody > tr.c + tr.l > td,  .ant-table-tbody > tr.c + tr.l + tr.l > td{
    //   &.ant-table-selection-column {
    //     padding-right: 0;
    //     text-align: right;
    //   }
    // }
    .ant-table-tbody > tr {
      &.c {
        background-color: #19386B;
        &:hover {
          background: #19386B;
        }
        >td{
          padding: 6px;
        }
      }
      &.l {
        background-color: #214174;
        &:hover {
          background: #1d3e72;
        }
      }
      &.c0{
      }
    }
    .ant-table-tbody > tr.ant-table-placeholder:hover > td {
      background: #173667;
    }
    // .ant-table-tbody > tr.ant-table-row-level-1 {
    //   &:nth-child(odd) {
    //     background: #214174;
    //   }

    //   &:nth-child(even) {
    //     background: #26477c;
    //   }
    // }

    // .ant-table-tbody > tr.ant-table-row-level-1.ant-table-row:hover > td,
    // .ant-table-tbody
    //   > tr.ant-table-row-level-1.ant-table-row-selected
    //   > td
    //   .ant-table-tbody
    //   > tr.ant-table-row-level-1
    //   > td.ant-table-cell-row-hover {
    //   background: #26477c;
    // }

    .ant-input {
      color: #fff;
      font-weight: 400;
      font-size: 12px;
      font-family: PingFangSC-Regular, PingFang SC;
      background: rgba(255, 255, 255, 0.1);
      border: 0;
      border-radius: 6px;
    }
    .ant-select:not(.ant-select-customize-input) .ant-select-selector {
      background: rgba(255, 255, 255, 0.1);
      border: 0;
      border-radius: 6px;
    }
    .ant-select-single .ant-select-selector .ant-select-selection-item {
      color: #fff;
    }
    .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
      color: #7688a5;
    }
    .ant-select-arrow {
      color: #7688a5;
    }

    .ant-checkbox-wrapper {
      color: #fff;
    }

    ::-webkit-input-placeholder {
      color: #7688a5;
      font-weight: 400;
      font-family: PingFangSC-Regular, PingFang SC;
    }

    :-moz-placeholder {
      color: #7688a5;
      font-weight: 400;
      font-family: PingFangSC-Regular, PingFang SC;
    }

    :-ms-input-placeholder {
      color: #7688a5;
      font-weight: 400;
      font-family: PingFangSC-Regular, PingFang SC;
    }
  }
}
.handles {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 29px;
}

.moveUp {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 9px;
  background: url('./上icon.png') no-repeat center / 100%;
  cursor: pointer;
  &.disabled {
    background-image: url('./上禁.png');
  }
}

.moveDown {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('./下icon.png') no-repeat center / 100%;
  cursor: pointer;
  &.disabled {
    background-image: url('./下禁.png');
  }
}

.moveUp,
.moveDown {
  &.disabled {
    cursor: no-drop;
  }
}

.body{
  min-height: 336px;
  padding: 20px;
  background: #214174;
  .newBtns{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    >div{
      width: max-content;
      display: flex;
      align-items: center;
      flex-direction: row;
      gap: 10px;
    }
  }
  .btn-primary-2{
    border-color: rgba(37, 77, 248, 1);
    background: rgba(37, 77, 248, 0.30);
    color: #fff;
    //&:hover, &[disabled], &[disabled]:hover, &[disabled]:focus, &[disabled]:active{
    //  color: #fff;
    //  background: rgba(37, 77, 248, 0.30);
    //  border-color: rgba(37, 77, 248, 1);
    //  opacity: 0.3;
    //}
  }
  :global{
    .ant-btn-primary[disabled], .ant-btn-primary[disabled]:hover, .ant-btn-primary[disabled]:focus, .ant-btn-primary[disabled]:active{
      color: #fff;
      background: rgba(37, 77, 248, 0.30);
      border-color: rgba(37, 77, 248, 1);
      opacity: 0.3;
    }
    .ant-btn-dangerous.ant-btn-primary[disabled], .ant-btn-dangerous.ant-btn-primary[disabled]:hover, .ant-btn-dangerous.ant-btn-primary[disabled]:focus, .ant-btn-dangerous.ant-btn-primary[disabled]:active{
      color: #fff;
      background: rgba(255, 89, 103, 0.30) ;
      border-color:rgba(255, 89, 103, 1) ;
      opacity: 0.3;
    }
    .ant-collapse{
      border: none;
      color: #fff;
      .ant-collapse-expand-icon, .ant-collapse-header-text{
        color: #fff;
      }
      .ant-collapse-item{
        padding-bottom: 30px;
        background-color: #214174;
        border-bottom: none;
      }
      .ant-collapse-header{
        background-color: #19386B;
        padding: 0;
        line-height: 46px;
        .ant-collapse-expand-icon{
          width: 50px;
          height: 46px;
          display: flex;
          align-items: center;
          justify-content: center;
        }
        .ant-collapse-arrow{
          margin-right: 0;
        }
      }
      .ant-collapse-content-box{
        padding: 0;
        >div{
          box-shadow: 0px 1px 0px 0px rgba(255,255,255,0.08);
        }
      }
      .ant-collapse-content{
        background-color: #214174;
        color: #fff;
        border: none;
      }
    }
  }
  .thead{
    height: 46px;
    line-height: 46px;
    background: #122F5F;
    display: flex;
    flex-direction: row;
    align-items: center;
    >span{
      display: inline-block;
      &:nth-child(1){
        width: 50px;
        text-align: right;
        padding-right: 10px;
      }
      &:nth-child(2){
        width: 70px;
        text-align: center;
      }
      &:nth-child(3){
        flex: 1;
        width: 0;
        padding-left: 20px;
        text-align: left;
      }
      &:nth-child(4){
        width: 96px;
        text-align: left;
      }
      &:nth-child(5){
        width: 78px;
        text-align: center;
      }
      &:nth-child(6){
        width: 264px;
        text-align: center;
      }
    }
  }
  .chapter{
    display: flex;
    flex-direction: row;
    align-items: center;
    >span{
      display: inline-block;
      &:nth-child(1){
        width: 0px;
        text-align: right;
      }
      &:nth-child(2){
        width: 70px;
        text-align: center;
      }
      &:nth-child(3){
        flex: 1;
        width: 0;
        padding: 0 10px;
        color: rgba(255,255,255,.5);
        text-align: left;
      }
      &:nth-child(4){
        width: 96px;
        text-align: left;
        line-height: 1;
      }
      &:nth-child(5){
        width: 78px;
        text-align: center;
      }
      &:nth-child(6){
        width: 264px;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 20px;
      }
    }
    :global{
      .ant-input{
        background-color: #19386B;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,.5);
      }
    }
  }
  .lesson{
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 60px;
    >span{
      display: inline-block;
      &:nth-child(1){
        width: 50px;
        text-align: right;
        padding-right: 10px;
      }
      &:nth-child(2){
        width: 70px;
        text-align: center;
      }
      &:nth-child(3){
        flex: 1;
        width: 0;
        text-align: left;
        padding-right: 10px;
      }
      &:nth-child(4){
        width: 96px;
        text-align: left;
      }
      &:nth-child(5){
        width: 78px;
        text-align: center;
      }
      &:nth-child(6){
        width: 264px;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 20px;
      }
    }
    :global{
      .ant-input{
        background-color: #214174;
        border-radius: 0;
        border-bottom: 1px solid #fff;
      }
    }
  }
  .tableContent{

    .tbody{
      &:not(:last-child){
        margin-bottom: 30px;
      }
      .th{
        height: 46px;
        background: #19386B;
      }
      .td{
        min-height: 160px;
        background: #214174;
        box-shadow: 0px 1px 0px 0px rgba(255,255,255,0.08);
      }
    }
  }
}
.collapseHandle{
  width: 24px;
  height: 24px;
  transform: rotate(0deg);
  transition: transform 0.3s;
  &.collapseHandleActive{
    transform: rotate(180deg);
  }
}
.lessonOp{
  display: inline-flex;
  align-items: center;
  >span{
    text: #fff;
    cursor: pointer;
    &[data-type="error"]{
      &:hover{
        color: #FF5967;
      }
    }
    &:hover{
      color: #254DF8;
    }
    &:last-child{
      margin-left: 15px;
    }
  }
}

// :global {
//   .ant-table-tbody > tr.ant-table-placeholder:hover > td {
//     background-color: #395c93;
//   }
// }
